package SocketLearn;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

/**
 * @author Lenl
 * @version v1.0
 * @create 2021-06-06 12:54
 * @description
 */
public class FileUtilsTest {
    public static void main(String[] args) {
        String src="D:\\Java Learn\\IOLearnTestFile\\king exit\\露易丝与斯提亚拉.jpg";
        String dest="D:\\Java Learn\\IOLearnTestFile\\picturetest\\露易丝与斯提亚拉.jpg";
        try {
            FileUtils.copyFile(new File(src),new File(dest));
        } catch (IOException e){
            System.out.println(e.getMessage());
        }
    }
}
